<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="com.google.appengine.api.users.User"%>
<%@ page import="com.google.appengine.api.users.UserService"%>
<%@ page import="com.google.appengine.api.users.UserServiceFactory"%>

<%
	UserService userService = UserServiceFactory.getUserService();
	User user = userService.getCurrentUser();
	if (user == null) {
%>
		<jsp:forward page="/fundedu/commonJSPs/fundEduSignIn.jsp" />
<%
	}
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Begin Meta Tags -->
<title>FundEdu</title>
<meta name="keywords" content="enter keywords in lowercase, seperate keywords with comma and space, example:keyword1, keyword2, keyword3, keyword4" />
<meta name="description" content="Enter Page Meta Descrition - Max Length 160 Chars - Make This Visually Appealing And Try To Include Important Keywords" />
<!-- End Meta Tags -->
<link href="/fundedu/style_sheet.css" rel="stylesheet" type="text/css" />

<!-- Image Showcase Invoke -->
<script language="javascript" src="/fundedu/showcase.js" type="text/javascript"></script>


<!-- Image Showcase Invoke End -->
</head>
<!-- Head End -->
<!-- Logo -->
<body>
	<div class="container">

             <!-- Nav Menu End -->
              <%@ include file="/fundedu/commonJSPs/header.jsp"%>
              
   <div id = form1>
	<form name="login" action="/fundedu/contribute" method="post" >
		<br>

		<table width="50%" border="0" style="background-image: url(/fundedu/images/background.png);background-repeat:x"/>
			
			<tr>
			    <img align="center" src="\fundedu\images\contribute\reg_progress_form1.png" alt="Progress Bar"  />    
			</tr>
			
			<tr  >
				<h1 align="left" ><font color="black"> <b> Create an account </b> </font></h1>
			</tr>
			
			<tr>
				<td height="75px" align="center">First Name</td><td><input type="text" name="firstname"></td>
			</tr>
			<tr>
				<td align="center">Last Name</td><td ><input type="text" name="lastname"></td>
			</tr>
			<tr>
				<td height="75px" align="center">Address Line 1</td><td ><input type="text" name="AddressLine1"></td>
			</tr>
			<tr>
				<td align="center">Address Line 2</td><td ><input type="text" name="AddressLine2"></td>
			</tr>
			<tr>
				<td height="75px" align="center">City</td><td ><input type="text" name="City"></td>
			</tr>
			<tr>
			    <td align="center">State</td>
			    <td>
				<select name="state">
				    <option value="Default">-Select-</option>
					<option value="AL">Alabama</option>
					<option value="AK">Alaska</option>
					<option value="AZ">Arizona</option>
					<option value="AR">Arkansas</option>
					<option value="CA">California</option>
					<option value="CO">Colorado</option>
					<option value="CT">Connecticut</option>
					<option value="DE">Delaware</option>
					<option value="DC">District of Columbia</option>
					<option value="FL">Florida</option>
					<option value="GA">Georgia</option>
					<option value="HI">Hawaii</option>
					<option value="ID">Idaho</option>
					<option value="IL">Illinois</option>
					<option value="IN">Indiana</option>
					<option value="IA">Iowa</option>
					<option value="KS">Kansas</option>
					<option value="KY">Kentucky</option>
					<option value="LA">Louisiana</option>
					<option value="ME">Maine</option>
					<option value="MD">Maryland</option>
					<option value="MA">Massachusetts</option>
					<option value="MI">Michigan</option>
					<option value="MN">Minnesota</option>
					<option value="MS">Mississippi</option>
					<option value="MO">Missouri</option>
					<option value="MT">Montana</option>
					<option value="NE">Nebraska</option>
					<option value="NV">Nevada</option>
					<option value="NH">New Hampshire</option>
					<option value="NJ">New Jersey</option>
					<option value="NM">New Mexico</option>
					<option value="NY">New York</option>
					<option value="NC">North Carolina</option>
					<option value="ND">North Dakota</option>
					<option value="OH">Ohio</option>
					<option value="OK">Oklahoma</option>
					<option value="OR">Oregon</option>
					<option value="PA">Pennsylvania</option>
					<option value="RI">Rhode Island</option>
					<option value="SC">South Carolina</option>
					<option value="SD">South Dakota</option>
					<option value="TN">Tennessee</option>
					<option value="TX">Texas</option>
					<option value="UT">Utah</option>
					<option value="VT">Vermont</option>
					<option value="VA">Virginia</option>
					<option value="WA">Washington</option>
					<option value="WV">West Virginia</option>
					<option value="WI">Wisconsin</option>
					<option value="WY">Wyoming</option>
				</select>
			    </td>
			</tr>
			
			<tr>
				<td height="75px" colspan="2" align="center" >
				     <input type="submit" value="Register">
				</td>
				<td>			    
			        <div id="fb-root"></div>
	      			<script src="http://connect.facebook.net/en_US/all.js">
	      			</script>
	      			<script>
	         			FB.init({ 
	            			appId:'183619055043296', cookie:true, 
	            			status:true, xfbml:true 
	         			});
	      			</script>
	      			<fb:login-button perms="email,user_checkins">
	         			Login with Facebook
	      			</fb:login-button>
			    </td>
			</tr>
			
			 <div id="fb-root"></div>
      		<!-- 	<script src="http://connect.facebook.net/en_US/all.js">
      			</script>
      			<script>
         			FB.init({ 
            			appId:'183619055043296', cookie:true, 
            			status:true, xfbml:true 
         			});

         			FB.ui({ method: 'feed', 
            			message: 'FundEdu is super-cool'});
      			</script>
			-->
						
		</table>

    </form>
            
            
            <!-- Begin Footer -->
	      <%@ include file="/fundedu/commonJSPs/footer.jsp"%>

			
    <div style="text-align: center; font-size: 0.75em;">Powered by <a href="http://www.fundedu.com/">FundEdu Inc.</a>.</div></body>
</html>